import React, { memo } from 'react'
import { renderRoutes } from 'react-router-config'

export default memo(function Home(props) {
  const { route } = props
  return (
    <>{renderRoutes(route.routes)}</>
  )

})
